<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/9/18
 * Time: 17:54
 */
namespace Api\Controller;
class ServiceController extends ApiController{
    public function index()
    {
        $result=M('service')->field('phone')->order('sort asc')->order('create_time desc')->limit(1)->find();
        response(1,$result['phone'],'操作成功');
    }
}